home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 11 / Mac Magazin and MacEasy Magazine CD - Issue 11.iso / Sharewarebibliothek / Spiele / Hearts Deluxe 3.4 ƒ / How to make your own opponents < prev    next >
Text File  |  1994-10-20  |  3KB  |  54 lines

  1. FOR:
  2. People who like to get under the hood ....
  3.  
  4. This file is a description of how the graphics & sounds are used in HEARTS DELUXE.
  5. If you are familiar with the free program from Apple, ResEdit you may use it along with a
  6. graphics program to modify the HEARTS interface.
  7.  
  8. As always, make a backup of any software that you plan to alter with ResEdit.
  9.  
  10. The graphics in Hearts are kept in the player file. "ZAK-ROB-JEN" is the standard.  
  11.  
  12. The graphics in Hearts are layered, at the deepest level is the empty room.
  13. PICT id 127
  14. On top of the room is places the background window.  This can be either 
  15. PICT id 154, 153, 152 or 151.
  16. On top of these two graphics is layered the three players in neutral poses.
  17. PICT id 144
  18.  
  19. The reason for this is so the background window can be behind the heads of the people at the table while still letting one switch in new backgrounds, or new people.
  20.  
  21. When modifying any of the above (using a graphics program and cutting and pasting), 
  22. be sure to keep the size of the enclosing rectangle the same.
  23.  
  24. TO MAKE YOUR OWN BACKGROUND WINDOWS,  
  25. copy and paste one of the backgrounds into a graphics program, modify it all you want (leaving the enclosing rectangle and the table edge as they are) then copy and paste it back into ResEdit. That's it!
  26.  
  27. ANIMATIONS:
  28. The animations are usually 2 step (3 counting the neutral position).  
  29. When modifying them you must also keep the size of the enclosing rectangle the same.
  30.  
  31. When you open the player file you will see a resource called "WIND"... Hearts uses the information in
  32. here to position the animated sequences.  So you may change the Top and Left coordinates of any of the labeled window resources to change the location of that animated picture.
  33.  
  34. PICT id 129 contains the "nugget" art.  These are all the pieces used to create the cards, draw the scoreboard, coffee cup, eye-movement etc.  When modifying this it's important to note that the game is grabbing small rectangles of art out of this picture, if what you change is too big Hearts may not grab all of it etc.  
  35.  
  36. MASKS:
  37. In order to draw a graphic on top of a background, the computer needs a mask which is a lot like a stencil.  For every animated graphic in HEARTS there needs to be a mask. To make them, in your graphics program, select the image with the lasso tool and then "fill" with black.  Cut and past the mask, or shadow, into the appropriate Hearts Pict resource.
  38.  
  39.  
  40. TEXT:
  41. The STR# resources contain the Telepathy comments and other comments.  These may be edited from within ResEdit.
  42.  
  43. SOUND:
  44. The snd resource contain the sounds from HEARTS. If you have a microphone attached to your computer you may record replacement sounds and paste them in. Just be sure the resource # of your new sound equals the resource number of the comment you want to replace. (You will have to delete the original sound first - so make a backup)
  45.  
  46.  
  47. This was written quickly in response to some requests.  If you have any questions drop us a line and if you draw a great set of graphics let us know and we'll see about using it.
  48.  
  49.  
  50. Ian Lynch Smith
  51. FreeVerse Corp.
  52. FreeVerse@aol.com
  53.  
  54.